#!/bin/bash

tar -zcvf assets.tar.gz assets
tar -zcvf audit.tar.gz audit
tar -zcvf authority.tar.gz authority
tar -zcvf basedata.tar.gz basedata
tar -zcvf bi.tar.gz bi
tar -zcvf converge.tar.gz converge
tar -zcvf converge-executor.tar.gz converge-executor
tar -zcvf data-input.tar.gz data-input
tar -zcvf directory.tar.gz directory
tar -zcvf file.tar.gz file
tar -zcvf form.tar.gz form
tar -zcvf gateway.tar.gz gateway
tar -zcvf index.tar.gz index
tar -zcvf lifecycle.tar.gz lifecycle
tar -zcvf metadata.tar.gz metadata
tar -zcvf mock-login.tar.gz mock-login
tar -zcvf safety.tar.gz safety
tar -zcvf standard.tar.gz standard
tar -zcvf order.tar.gz order
tar -zcvf report.tar.gz report

rm -rf ../../target/platform/**

mv ./*.gz ../../target/platform/
